package com.wujiayu.retry;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @EnableRetry ：开启重试机制
 * @author wujiayu
 */
@EnableRetry
@SpringBootApplication
@EnableScheduling
public class SpringRetryDeomApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringRetryDeomApplication.class, args);
    }

}
